package com.xw.controller.admin;


import cn.hutool.db.Page;
import com.xw.service.IReserveItemService;
import com.xw.vo.ResultVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 * 前端控制器
 * </p>
 *
 * @author y
 * @since 2021-09-15
 */
@RestController
@RequestMapping("/reserveItem")
public class ReserveItemController {

    private final IReserveItemService reserveItemService;

    public ReserveItemController(IReserveItemService reserveItemService) {
        this.reserveItemService = reserveItemService;
    }

    /**
     * 列表预定人员
     */
    @GetMapping("/findReserveItemList")
    public ResultVO<?> findReserveItemList(Page page, HttpServletRequest request) {
        return reserveItemService.findReserveItemList(page, request);
    }


}

